Dynamicweb 8 Documentation
Execute<TResult>(String,Object[]) Method

Result type.
Command name.
Command parameters.
Executes the given named command and returns the result of an execution.
Syntax
'Declaration
 
Public Overloads Overridable Function Execute(Of TResult)( _
   ByVal command As String, _ 
   ByVal ParamArray parameters() As Object _ 
) As TResult
public virtual TResult Execute<TResult>( 
   string command,
   params object[] parameters 
)

Parameters

command
Command name.
parameters
Command parameters.

Type Parameters

TResult
Result type.

Return Value

The result of a command execution.
Exceptions
ExceptionDescription
System.NotSupportedExceptionSpecified command is not supported.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Repository Class
Repository Members
Overload List

Send Feedback